Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 277 Bytes

2.3.34 - chroot.md

File metadata and controls

9 lines (6 loc) · 277 Bytes

chroot

重定向Worker进程的文件系统根目录。此设置可以使进程对文件系统的读写与实际的操作系统文件系统隔离。提升安全性。

$serv->set(array('chroot' => '/data/server/'));

此配置在swoole-1.7.9以上版本可用